package com.itmatter.classifier.domain;

/**
 *
 * @author Daniel Fisla, dfisla@itmatter.com, ITMATTER Inc., http://www.itmatter.com, Copyright 2010, LGPLv3
 */
public class ClassifierCategory implements java.io.Serializable {

    private String category;
    private int counts;

    /**
     * 
     */
    public ClassifierCategory() {
    }

    /**
     * 
     * @param id
     */
    public ClassifierCategory(String id) {
        this.category = id;
    }

    /**
     * 
     * @return
     */
    public String getCategory() {
        return category;
    }

    /**
     * 
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * 
     * @return
     */
    public int getCounts() {
        return counts;
    }

    /**
     * 
     * @param counts
     */
    public void setCounts(int counts) {
        this.counts = counts;
    }
/*
    public boolean equals(Object other) {
        if ((this == other)) {
            return true;
        }
        if ((other == null)) {
            return false;
        }
        if (!(other instanceof ClassifierCategory)) {
            return false;
        }
        ClassifierCategory castOther = (ClassifierCategory) other;

        return (this.getCategory().equals(castOther.getCategory()));
    }

    public int hashCode() {
        int result = 17;

        result = 37 * result + this.getCategory().hashCode();

        return result;
    }
    */
}
